File Sharing Software

File sharing is the practice of distributing or providing access to digital media, such as computer programs, multimedia (audio, images and video), documents or electronic books. Common methods of storage, transmission and dispersion include manual sharing utilizing removable media, centralized servers on computer networks, World Wide Web-based hyperlinked documents, distributed peer-to-peer networking (P2P) and cloud-based file syncing.

Share tech news, updates, or what's on your mind.

Sign up to Post

Hi Experts,

We have a script that is downloading files from FTP server every 15 minutes.

I'm writing a function that will do the following.

Loop thru all files, process them, then delete them.

Part of the function is to see if file contains some data besides of just headers.
this is the code

Function CountOfRecords(sFolderPath As String, sFile As String) As Long
Dim fso
Dim folderPath
Dim file
Dim oFile
Dim fileContent
Dim arr
Dim cnt
Dim recCnt
Set fso = CreateObject("Scripting.FileSystemObject")
'folderPath = "C:\FTP\5-18\31\" 'Change the folder path as required and remember to add a back slash in the end
        Set oFile = fso.OpenTextFile(sFolderPath & sFile)
        fileContent = oFile.ReadAll
        arr = Split(fileContent, vbCrLf)
        If UBound(arr) > 0 Then
            cnt = cnt + 1
            recCnt = recCnt + UBound(arr)
        End If
        oFile.Close
        Set oFile = Nothing
CountOfRecords = recCnt

End Function

Open in new window

However some times I get an error, permission denied.

guess when its still in middle the download process...

what is the solution?

Thanks on advance.
0
Become a Certified Penetration Testing Engineer
LVL 12
Become a Certified Penetration Testing Engineer

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

Using a tool like Teamviewer, can I safely let a programmer add code without risk of him/her downloading my document?

Or any other tool. The main thing is to all the time be certain the programmer can work on my document (Excel workbook) and add VBA code without any risk that he/she downloads the workbook. Could I even restrict viewing of certain pages, tabs and cells/cell areas of this workbook and perhaps let several different programmers work on different tabs of my Excel workbook? Although they might take a screencast of the tabs, but if I divide the task on several programmers and restrict viewing I would neutralize this risk also.
0
I need to run the scheduler (Built in)
Copy file from my source
to
My local folder
Ever 60 minutes

AFTER that process...
I need to delete the file off the source folder

When IPSWITCH ws-ftp does a scheduler transfer
Is that a COPY
or a MOVE?
0
Hi Experts,
I have the following function trying to synchronize my local folder with a FTP folder.
Sub Example()
 
    Dim mySession As New Session
    
    ' Enable custom error handling
    On Error Resume Next
    
    Download mySession
    
    ' Query for errors
    If Err.Number <> 0 Then
        MsgBox "Error: " & Err.Description
 
        ' Clear the error
        
        Err.Clear
    End If
     
    ' Disconnect, clean up
    mySession.Dispose
     
    ' Restore default error handling
    On Error GoTo 0
    
End Sub
Public Sub Download(ByRef mySession As Session)
'Public Sub Download()
    ' Setup session options
    Dim mySessionOptions As New SessionOptions
    With mySessionOptions
        .Protocol = Protocol_Sftp
        .hostname = "sftp.MySite.com"
        .username = "MyUser"
        .password = "MyPWD"
        .SshHostKeyFingerprint = "ssh-rsa 2048 xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx"
        
        
    End With
    
    ' Connect
    mySession.Open mySessionOptions
    
    ' Upload files
    Dim myTransferOptions As New TransferOptions
    myTransferOptions.TransferMode = TransferMode_Binary
    'myTransferOptions.ResumeSupport = TransferResumeSupportState.TransferResumeSupportState_Off
    myTransferOptions.ResumeSupport.State = TransferResumeSupportState_Off
     
    Dim transferResult As SynchronizationResult
    'Set transferResult = _
        mySession.GetFiles("/Outbox/*PatChanges*", "H:\FTP\", False, myTransferOptions)

Open in new window

0
Hi Experts,
I have my Access backend database on the server and some times nobody is using it, I can go into design of each of the tables.
However the lock file does not get closed after closing all Access instances.
Is it safe to copy over the file to a different location, compact it and place it back in the original location?
0
Hi Experts,

I have the following script that

1- downloads from a FTP site all new files to a local folder
2- Copy all downloaded files to another local folder.

However I see that 2nd step is not working properly, it downloads/copies all files again to the 2nd folder, not only the new files.
Can someone help me fix that?

# Load WinSCP .NET assembly
Add-Type -Path "C:\Program Files (x86)\WinSCP\WinSCPnet.dll"

# Set up session options
$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
    Protocol = [WinSCP.Protocol]::Sftp
    HostName = "sftp.MySite.com"
    UserName = "MyUserName"
    Password = "MyPWD"
    SshHostKeyFingerprint = "1234567890="
}

$session = New-Object WinSCP.Session

try
{
    # Connect
    $session.Open($sessionOptions)

    # Transfer files
    $remotePath = "H:\FTP\*"
    
    $sourcePath = "/Outbox/*"
    $destPath = "H:\FTP\"
    $destPathNew = "H:\FTP\Caspio\"

    $transferOptions = New-Object WinSCP.TransferOptions

    $transferOptions.FileMask = "*PAT*.*;*Sch*.*|*Full*.*"

    while($True)
    {
         try
        {
            $transferResult = $session.GetFiles($sourcePath, $destPath, $False, $transferOptions)
            $transferResult.Check()
        }
        finally
        {
 	        foreach ($transfer in $transferResult.Transfers)
                {
                   $session.GetFiles($transfer.FileName, $destPathNew, $False, $transferOptions)
                    Write-Host "Download of 

Open in new window

0
Hi Experts,

The script below connects to a FTP site and downloads all newest files to a local folder in my pc.

How can I change this script to include only files  either with wording "PAT" or "Sched"?
However if file name contains word "Full" it should not be included.

# Load WinSCP .NET assembly
Add-Type -Path "C:\Program Files (x86)\WinSCP\WinSCPnet.dll"

# Set up session options
$sessionOptions = New-Object WinSCP.SessionOptions -Property @{
    Protocol = [WinSCP.Protocol]::Sftp
    HostName = "sftp.MySite.com"
    UserName = "MyUserName"
    Password = "MyPWD"
    SshHostKeyFingerprint = "1234567890="
}

$session = New-Object WinSCP.Session

try
{
    # Connect
    $session.Open($sessionOptions)

    # Transfer files
    $remotePath = "H:\FTP\*"
    
    $sourcePath = "/Outbox/*"
    $destPath = "H:\FTP\"
    $destPathNew = "H:\FTP\Caspio\"


    $transferOptions = New-Object WinSCP.TransferOptions
    while($True)
    {
 
        try
        {
     
            $transferResult = $session.GetFiles($sourcePath, $destPath, $False, $transferOptions)
            $transferResult.Check()
        }
        finally
        {
 	        foreach ($transfer in $transferResult.Transfers)
                {
                   $session.GetFiles($transfer.FileName, $destPathNew, $False, $transferOptions)
          
                    Write-Host "Download of $($transfer.FileName) succeeded"
                }
                $destPathNew1
        }
    }
    Write-Host 

Open in new window

0
Hi Experts,
I am looking for an Access file that was used about a month ago, however cant remember the name and since there were more recent files used, I cannot get to see them from under Access recent files list..
Is there any way I can get a list of all my Access files used in past month, along with date last opened?
Files can be either on the server or on local C drive.
Thanks in advance
0
As topic we going to upgrade our file servee from Window server 2008 R2 to Window Server 2016 .In existi g file server we using FSRM to set the quota and file screening.I would like to migrate this to new server also.Please advice
0
Is there any way to prevent users copying files from a mapped drive, when they're not domain joined?

Server 2012 R2 - Active Directory & File Share
Local devices - connect to shared folders from the server, using their AD accounts for authentication only. Local devices are NOT domain joined.
0
Microsoft Azure 2017
LVL 12
Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Hi Experts,
We have setup a server farm technology where file is on the local server and users are accessing the file thru the farm.
https://www.techopedia.com/definition/4202/server-farm
Now we are experiencing FE file corruption very frequent, not sure if this started immediately after the farm setup but this is now whats happening, and lately it can happens a couple of times a day.
See attached error that users are getting.
As soon I connect to pc and open the file, it asks if want repair, and I say yes, and then everything is fine.
I told users they must close access prior to logging off the farm, and they say this is what they do.
Last night I had only one user on, fixed it and in the morning, still only that user was on and problem happen again..
What can be done?
Thanks in advance.
Untitled.png
0
Hello Experts,

I have a DELL server that I am going to mirror a couple of hard drives. It needs to become a file server.

My question is, is there a NAS software I could install on it and make it NAS server?

Software like FreeNAS or OpenFile. I will like the software to be free or otherwise, I will use a Linux server like CentOS 7 or Ubuntu.

If that is the case configuring Samba will be enough? Recommendation needed, please.

Thank you!
0
How to send large files for free?

I use WeTransfer but that limits files to 2 GB.

What other free options allow a large filesize?

Thanks.
0
HI Linux Experts

we have in our environment EMC clariion and VNX5300 both working as SAN and NAS  

we moved everything to VSAN even our file servers we are using right now virtual appliance like Nexenta Store ans EMC unity

till now we dont have any  issues with these virtual appliance but we have any machine which read data from our file system  one file system shared (( SMB for windows users and NFS for this machine and linux users ))

but this old machine can understand only NFS V2   when i try to mount a shared file system from Nexenta store or EMC unity it dose not work

so i tried to mount for test this file system on centos VM with this command

 # mount -t nfs -o vers=2 192.168.111:/sword /swordone/
mount.nfs: mount point /swordone is not a directory
 # mount -t nfs -o vers=2 192.168.8.147:/sword/cnc /swordone/
mount.nfs: requested NFS version or transport protocol is not supported

so the issue look like NFS V2 not supported on these new virtual appliance or maybe cloud be another reason

so my question do you know any virtual appliance work as NAS 100 % can support NFSV2   something like freenas or anything that i can make test with to make sure the issue not related to NFS V2

any idea here ?
0
Sorry, I set up 2 machines - 1 that has onedrive and one that has onedrive for business installed.

I keep being told the only similarity / continuity between them is the first part of their name - onedrive.  They are entirely different animals?! the ODFB runs on sharepoint?  

Am I missing something?  They seem to have the same functionality.

I am most familiar with Dropbox.  So if you can put things into comparision with Dropbox, that would help me understand things better : )
1
Cross Forest Migration of File Server Resource manager 2012r2
I am planning to migrate FSRM server from domain A to domain B. The server has 18 folders each of those folders have different local security group and each group has domain A members associated with it.

Since I am going to migrate the server, How do I proceed and with what tools? The client I am doing the migration for want this migration without downtime since majority of the users are working from the file server online editing and changing stuff.

Would robocopy be a good option and if users keep changing everything all the time how do I sync changes?
If i want to take a different kind of migration way like not using ADMT or Robocopy but Disjoin fileserver from domain A and join it to domain B and add all users would that suffice?

How am I going to change all the mapped folders for all users who are migrated to the B domain ? any tool or is it possible to use GPO to detect and change all mapped folders?

Thanks
0
Application for enabling users to move files with paths and permissions.

I am managing a large traditional file store seen by users as a mapped drive.

This has grown huge and has been a dumping group for data for a decade. What I want to do is clean up the data and get a handle on security. To this end I have assigned a user from each department as controller of a root folder so the sales folder has someone in sales that is responsible the Finance folder has someone in finance responsible etc.

I have very good backups of this data and now want each of these users to go into their respective folders and delete / archive old data. The question is how do I have them archive the old data. The ideal way would be for the archive data to be moved to an identical path on a separate archive drive.

I will have to give the users permissions to the entire tree they are managing which is ok but I don't want them to simply drag and drop files / folders to a root Archive folder, I really want to keep the structure so the archived documents can be searched later (this will be very infrequently) Are there any programs I can use for this, a file commander type application that is friendly enough for select end users (these are slightly higher skill level users and could have some training)

Any suggestions would be great! This is a 2016 windows AD environment.
0
I've a problem with Files being locked the network and server are several years old and this has only just started to happen.

The file shows as "File Locked by network user", I've Win 10 Pro clients with 2008 R1 file server, the file is not shown as being locked on the server.  This particular .DOCX file was used by one user who has restarted but the lock remains.

Is there a tool to better show file locks other than Comp Man\Shared Folders\Open Files?

Thanks in advance.
0
Unable to access FTP server using local account created.  Ftp server is 2003 and not using IIS, but OpenSSH.
User seems to have all the permissions needed to access through WinSCP, but I keep getting the access denied message when attempting to connect.
I'm not sure whether or not I did not add this user somewhere with permissions, whereas I am not an avid FTP server administrator.
Any help would be appreciated.
0
Bootstrap 4: Exploring New Features
LVL 12
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

I am currently in a trial with Citrix Sharefile... but find the pricing a bit too much for our company at the moment..   Love the features .. Large File send.. Encryption .. all integrated into Outlook.   In my email signature I have a link for people that need to send me files... etc..etc..     Does anyone know of any other companies that offer this type of service that might not be as expensive?

Cheers

GoRaps!
0
Hello Experts,

At our business, we use both Adobe Acrobat DC and Adobe Creative Cloud (CC).  Due to the nature of the work, we would like to permit the CC users to continue to save and  share work to the Adobe Cloud.  We would like to block saving and sharing to the Adobe Cloud for the Acrobat DC users because we want them to use MS OneDrive.

We can do this if we purchase the higher priced licensing but we are trying to avoid that.
The firewall is not an option because if off-site users do not log in using the VPN, the firewall rules are bypassed.

Any suggestions or recommendations?

Thank you,
Steph M
0
Dear expert

I would like to know how FTP works with file modification time.

When you get something from ftp the windows is showing the file is created by yesterday, not today when you received, I mean when you write something to the disk, OS should write the create time is today right? But it doesn't why is that?

Regards
0
I am looking for an FTP program that can download files, send files, then copy those files to local folders, delete files from local folders and then send an email notification out to users that the file has arrived etc..
I want all this to be triggered with one double click, after configuration.
0
I would like to modify this portion of an FTP script so that it does try to look at the LOCAL folder to compare files with the REMOTE folder - and then try to delete those files on the REMOTE FOLDER.
I simply want the script to download the files found in the REMOTE folder to the LOCAL folder, Delete the files in the Remote folder - but not to delete anything in the LOCAL folder..


:GetFTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo bin
    echo cd %remotedir%
    echo lcd "%localdir%"
    echo mget *.*
    echo quit
    ) | ftp -n -i
    exit /b

:ClearfTPFiles
    (echo open %ftpserver%
    echo user %username% %password%
    echo cd %remotedir%
    (for /f "tokens=*" %%a in ('dir /b /a-d "%localdir%\*.*"') do @echo dele "%%~a")
    echo quit
    ) | ftp -n -i -d
0
Someone asked me if he can setup three computers in his home to share a OneDrive for Business drive.  I'm not sure if this is possible and if so how to set this up.
0

File Sharing Software

File sharing is the practice of distributing or providing access to digital media, such as computer programs, multimedia (audio, images and video), documents or electronic books. Common methods of storage, transmission and dispersion include manual sharing utilizing removable media, centralized servers on computer networks, World Wide Web-based hyperlinked documents, distributed peer-to-peer networking (P2P) and cloud-based file syncing.