SFTP Downloading While Uploading - ssis

The link below is a very similar question to this but I am wondering if things have changed in a couple of years / what's actually happening with my situation.
As a test, I upload a 425MB file to a 3rd party vendor's SFTP server (which can be seen immediately on the server) and I have an SSIS package start downloading that file right away. The process takes about 20 minutes but at the end I have downloaded a full file that looks exactly the same as the uploaded file.
Is it possible the SFTP server can "handle" this and I can trust this to work properly (no partial reads or anything) if it were to happen in production or do I still need to do workarounds suggested in the link below?
Knowing nothing about SFTP servers I would think some sort of SFTP software would manage this for you without needing workarounds..
SFTP file uploading and downloading at same time
Thank you!

This sounds like you are attempting to avoid a potential race condition. A simple solution to this is to upload the file to an Uploading directory. Once the file transfer is complete, move the file to a Source or Archive folder (name it whatever you want). Then build all download processes to only look in the Source or Archive folder.

Related

PhpStorm configure to work remotely

Hi is there a way for PhpStorm to work directly on a remote server? No local files. Because as of the moment PhpStorm has local files wherein it just automatically uploads all files during save on remote.
My problem is if someone changes something remotely I need to manually download it first before seeing the changes.
It's not possible to fully operate on a remote server. Phpstorm need a local project, which contain the .idea folder. You can edit remote files without downloading them to the project folder. But in this case the entire list of features is not available.
For you can be useful the following settings:
tools->Deployment->Options:
warn when uploading over newer file
Notify about remote changes

SSIS download everything from FTP

I want to every week automaticly download all data on FTP server with SSIS FTP task.
(=Copy of whole ftp server to our local server.)
Problem is that on FTP there is many folders and the structure is changing.
For exmple:
I want to download all files from /folder
so I know that i can use /folder/*.*
but sometimes happen that somebody add new folder - /folder/subfolder/
so how to specify the FTP task to download all data from FTP even in subfloders or in realy deep structure like:
folder/subforlder/subfolder/.....
Thanks,
Martin

PhpStorm and projects with remote files, keeping environments mirrored

I'm using PhpStorm for a while now but I'm a bit confused for the right way to work on projects with remote files.
At the moment I've created a project (FTP) and download everything from the deployment server. When I save a file it gets uploaded automatically but there are situations where I'm working from another device using a different approach to modify files.
At this moment I'm redownloading the entire deployment server, but this seems like an overkill. Is there a method like 'sync' to just download/modify the remote changed files? I know there is an item in the context menu 'Synchronize "Project name"', but this doesn't seem to do anything?

Can html5 be used front end for an ftp server?

quick question to day. I've done a little digging around on the net and i can't really find a very definitive answer.
Basically, I run my own server on a redundant dual core, 4gb ram 2Tb pc (server1)
And on here, i would like to make an FTP partition. Reason being, i would very much like to be able to transfer files back and forth work, uni and home as i please.
I also run a website from my server which allows me to stream media from my hard drive to any laptop, tablet, desktop, iphone, android.. you name it!
I would LIKE to be able to add a section on my website where by I can log in and access my files as a sort of HTMF5 Front end.
I am aware and know how to create a login with a database which has md5 hash and store cookies to stop un-authorised people accessing my ftp.
Any help or a shove in the right direction would be much appreciated! Thanks in advance :D
Yes it's possible. but that won't be HTML5 ftp server etc that you mentioned.
You can achieve this by installing a web server on your machine like apache and then make directories public - run Apache on some port and you will be able to access the directory. if your server is running on port 8080, URL will be like: domain.com:8080 - You can style directory using this simple script & make this password protected as well using .htaccess .
osFileManager
The other option is to use some php script. Many commercial scripts are available and as well as open source. i recommend you trying osFileManager - it has a lot of features like:
Browse the directory structure
Create files
Upload files
Rename files
Move files
Delete files
Edit files
Change permissions
Change password
Create users
Here is it's installation instructions: http://www.osfilemanager.com/osfilemanager-docs.html
or a paid HTML5 & AJAX based script can be bought for 14$ from here:
http://codecanyon.net/item/file-manager-and-backup-system/5177206

Air: Write to application storage directory during installation?

I'm writing an Adobe Air HTML app. I want to write to the application storage directory during installation, and thought you could point me in the right direction.
I've got a set of example "profiles" (text files) to include with our application. I would like to put the examples into Application Storage (or Document Storage), since the user is free to delete them, modify them, etc. Also, I don't want to re-write the files during Updates, only an initial installation.
But as far as I can figure out, the installer only writes to the application directory. Is there a simple command line change to ADT to send files to the application storage directory?
Here's my thought so far for a workaround:
Include the files in the application directory "Examples"
On startup, check if the "Examples" folder is in the Application Storage/Document Storage directory
If it doesn't exist, copy app:/Examples folder into the Application Storage/Document storage directory
But it would be a lot easier if this was part of the installer. Let me know if any other information would be helpful. Thanks!
There isn't any way to customize the normal AIR installer. Your workaround is the way to do it.