RadAsyncUpload Files To FTP issue

2 posts, 0 answers
  1. Neil
    Neil avatar
    4 posts
    Member since:
    Jul 2012

    Posted 06 Jun 2017 Link to this post

    We are using the RadAsyncUpload control (version 2015.401.40) to upload files to an FTP server using FTPWebRequest.

    This works without any problems when running on localhost or even on our development webserver where the FTP is hosted on the same network.

    However when we update our live web site which Is hosted on a different network to the FTP the file no longer uploads.

    We have watched the process and we can actually see the folder structure being created successfully on the FTP and for a very short time we can even see the file we have uploaded TestFile.pdf with a file size of 0kb (The actual file size is 81kb). After approx. 60 seconds we get the "operation has timed out error" and the TestFile.pdf document disappears from the FTP.

    Not sure if this is a permissions issue as the upload inidcator is green and i can see the file inside the TempFolder inside the WebApplication.
    Any help on this would be great, we are going round in circles on this one.


  2. Neil
    Neil avatar
    4 posts
    Member since:
    Jul 2012

    Posted 07 Jun 2017 in reply to Neil Link to this post

    I have changed my code so the AsyncUpload control uploads the files to a staging area on the live web server then some additional code to move from the file from the staging area to the FTP drive, I then have to clean up the staging area once this is complete.

    The solution above does work well but I had hoped to avoid the staging area and upload direct to the FTP server, are there some additional permission properties i am missing here or is this just a limitation of the component where by it cannot upload to a drive (FTP) that is not on the same network as the hosted application using this control?

Back to Top