Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: wwftp cFTPsource

$
0
0
Re: wwftp cFTPsource
Web Connection 5.0
Re: wwftp cFTPsource
01/05/2012
06:24:48 AM
3EH0DQY3D Show this entire thread in new window
From:
To:
Attachments:
None
The client is Internet Explorer. The web server (IIS) is running WWWC and also FTP (RhinoSoft Serv-U). I wanted the client to be able to use the WWWC app to upload new content, from their hard disk to the Web/WWWC/FTP server, that would immediately be available to the WWWC application. I already upload files successfully with GetMultiPartFile() and File2Var(), except that it has a file size limit around 16 mb.

I now understand the wwFTP does not fit this scenario. I'll just have the client use FileZilla to get the files to the server.

Thanks for the additional info.

Hi Robert,

I'm not sure I understand what you're trying to do.

What is running on the client? A foxpro application? Depending on what you're doing cFtpSource will have different meanings (upload/download). Basically if you want to use wwFtp you typically have a FoxPro desktop app talking to an FTP server in the Cloud. The client app uses wwFtp to send the file to the FTP server.

Ftp servers are dumb - they only send and receive files (and a few other things related to file management), but they don't run code. A Web Connection server is not an FTP server, so you'll need to have a separate FTP site in place.

If you need logic behind an upload the way you can do this is:


  • Upload from VFP Desktop app to Ftp Server using wwFtp

  • After upload send a message to WWWC server, so the server knows a file's been uploaded

  • You can use wwHTTP and set up a custom Process method or Page that handles this incoming HTTP request.

    This way you can 'attach' logic to an upload indirectly.

    Hope this helps,

    +++ Rick ---


    Can cFTPsource be a file on the client computer? I want to give site visitors the ability to upload large files (16+ mb) to the WWWC server using FTP. Currently, I get a path error if cFTPsource is set to a file on my hard drive because WWWC tries to find the file on its own hard drive.




    Viewing all articles
    Browse latest Browse all 10393

    Trending Articles